build: Use appropriate linker flag for the builder test
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 15:11:17 +0000 (16:11 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 15:11:17 +0000 (16:11 +0100)
The `-export-dynamic` flag is a libtool-specific flag; since we're not
using libtool with Meson, we should instruct the C compiler to use the
appropriate linker flag instead.

testsuite/gtk/meson.build

index e30689bf9c7a7e05ec2fcd8055451b45f2c5590a..56236134755e33fbaddbb8f01a840fdaf3a8ff8b 100644 (file)
@@ -3,7 +3,7 @@ tests = [
   ['accessible'],
   ['adjustment'],
   ['bitmask', ['../../gtk/gtkallocatedbitmask.c'], ['-DGTK_COMPILATION', '-UG_ENABLE_DEBUG']],
-  ['builder', [], [], ['-export-dynamic']],
+  ['builder', [], [], ['-Wl,--export-dynamic']],
   ['builderparser'],
   ['cellarea'],
   ['check-icon-names'],